﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Model
{
   public class Engage_interview//面试表
    {
        [Key]
        [Display(Name = "编号")]
        public int ein_id { get; set; }
        [Display(Name = "姓名")]
        [Required(ErrorMessage = "姓名不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string human_name { get; set; }
        [Display(Name = "面试次数")]
        [Required(ErrorMessage = "面试次数不能为空")]

        public int interview_amount { get; set; }
        [Display(Name = "职位分类编号")]
        [Required(ErrorMessage = "职位分类编号不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string human_major_kind_id { get; set; }
        [Display(Name = "职位分类名称")]
        [Required(ErrorMessage = "职位分类名称不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string human_major_kind_name { get; set; }
        [Display(Name = " 职位编号 ")]
        [Required(ErrorMessage = " 职位编号不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string human_major_id { get; set; }
        [Display(Name = " 职位名称 ")]
        [Required(ErrorMessage = "职位名称不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string human_major_name { get; set; }
        [Display(Name = "形象等级")]
        [Required(ErrorMessage = " 形象等级不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string image_degree { get; set; }
        [Display(Name = "口才等级")]
        [Required(ErrorMessage = "口才等级不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string native_language_degree { get; set; }
        [Display(Name = "外语水平等级")]
        [Required(ErrorMessage = "外语水平等级不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string foreign_language_degree { get; set; }
        [Display(Name = "应变能力")]
        [Required(ErrorMessage = "应变能力不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string response_speed_degree { get; set; }
        [Display(Name = "EQ等级")]
        [Required(ErrorMessage = "EQ等级不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string EQ_degree { get; set; }
        [Display(Name = "IQ_等级")]
        [Required(ErrorMessage = "IQ_等级不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string IQ_degree { get; set; }

        [Display(Name = "综合素质")]
        [Required(ErrorMessage = "综合素质不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string multi_quality_degree { get; set; }

        [Display(Name = "面试人")]
        [Required(ErrorMessage = "面试人不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string register { get; set; }
        [Display(Name = "筛选人")]
        [Required(ErrorMessage = "筛选人不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string checker { get; set; }
        [Display(Name = "面试时间")]
        [Required(ErrorMessage = "面试时间不能为空")]
    
        public DateTime registe_time { get; set; }
        [Display(Name = " 筛选时间")]
        [Required(ErrorMessage = " 筛选时间不能为空")]
        public DateTime check_time { get; set; }
        [Display(Name = "简历编号")]
        [Required(ErrorMessage = "简历编号不能为空")]
     
        public int resume_id { get; set; }
        [Display(Name = "面试结果 ")]
        [Required(ErrorMessage = "面试结果不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string result { get; set; }
        [Display(Name = "面试评价")]
        [Required(ErrorMessage = "面试评价不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string interview_comment { get; set; }
        [Display(Name = " 筛选评价")]
        [Required(ErrorMessage = " 筛选评价不能为空")]
        [RegularExpression(@"[^A-Za-z0-9_]{2,}", ErrorMessage = "请输汉字的内容")]
        public string check_comment { get; set; }
        [Display(Name = " 面试状态")]
        [Required(ErrorMessage = "面试状态不能为空")]
        public int interview_status { get; set; }
        [Display(Name = " 筛选状态")]
        [Required(ErrorMessage = "筛选状态不能为空")]
        public int check_status { get; set; }
    }
}
